package com.promis.crypto.symmetric;

public class AESKeyCipher extends SymmetrickKeyCipher {

	private final static String KEY_ALGORITHM = "AES";
	
	private final static String CIPHER_ALGORITHM = "AES/ECB/PKCS5Padding";
	
	private static AESKeyCipher keyCipher;
	
	private AESKeyCipher() {
		super(KEY_ALGORITHM, CIPHER_ALGORITHM);
	}
	
	public synchronized static AESKeyCipher getInstance() {
		if (keyCipher == null) {
			keyCipher = new AESKeyCipher();
		}
		return keyCipher;
	}
}
